

import 'package:baby/Entities/Name.dart';
import 'package:baby/Entities/Store/Product.dart';
import 'package:baby/StateManagement/ModelProvider.dart';
import 'package:baby/StateManagement/ObservableList.dart';
import 'package:flutter/foundation.dart';

class ProductCategory with Model {
  Name name;
  MyObservableList<ProductCategory> childs;
  MyObservableList<Product> products;

  ProductCategory({@required this.name, this.childs, this.products}){
    products ??= MyObservableList<Product>();
    childs ??= MyObservableList<ProductCategory>();
  }
}
